package com.example.springdemo0921.spring;

import com.example.springdemo0921.Person;
import org.springframework.context.annotation.ImportSelector;
import org.springframework.core.type.AnnotationMetadata;

/**
 * 导入业务类
 *
 * @author kusej
 * Create at 2022-09-21 16:37
 **/
public class MyImportSelector implements ImportSelector {
    @Override
    public String[] selectImports(AnnotationMetadata importingClassMetadata) {
        return new String []{
            Person.class.getName()
            };
        };
}
